<div class="widget">
    <?php echo Virgo::renderWidgetBlock($widget, '_head', array(
        'icon' => $params['head']['icon'],
        'title' => $params['head']['title'],
        'buttons' => !empty($params['head']['buttons'])? $params['head']['buttons'] : array(),
    )); ?>
    <div class="block-fluid">
        <?php echo Virgo::renderWidgetBlock($widget, '_content', array(
            'data' =>!empty($params['data']) ? $params['data'] : array(),
            'fields' => !empty($params['fields']) ? $params['fields'] : array(),
            'buttons' => !empty($params['buttons']) ? $params['buttons'] : array() ,
            )); ?>
    </div> 
</div> 